package com.ssy.lingxi.order.model.bo;

import java.io.Serializable;

/**
 * 订单支付记录校验、保存结果
 * @author 万宁
 * @version 2.0.0
 * @date 2021-12-20
 */
public class OrderPaymentCheckBO implements Serializable {
    private static final long serialVersionUID = -7518241382401219156L;

    public OrderPaymentCheckBO() {
        this.fundMode = 0;
        this.canRefund = false;
    }

    public OrderPaymentCheckBO(Integer fundMode, Boolean canRefund) {
        this.fundMode = fundMode;
        this.canRefund = canRefund;
    }

    /**
     * 资金归集模式
     */
    private Integer fundMode;

    /**
     * 订单是否满足退款条件
     */
    private Boolean canRefund;

    public Integer getFundMode() {
        return fundMode;
    }

    public void setFundMode(Integer fundMode) {
        this.fundMode = fundMode;
    }

    public Boolean getCanRefund() {
        return canRefund;
    }

    public void setCanRefund(Boolean canRefund) {
        this.canRefund = canRefund;
    }
}
